package org.utils.util;

/**
 * This class delegates handling of the to a StringBuffer based version.
 */
public abstract class ToStringObject
{
	public static final String newLine = System.getProperty("line.separator");
	
	public ToStringObject()
	{
	}
	
	public String toString()
	{
		StringBuffer s = new StringBuffer();
		toString(s);
		return s.toString();
	}

	public abstract void toString(StringBuffer s);
}
